package TestPaperSystem.service;

import TestPaperSystem.Dto.UserLoginDto;
import TestPaperSystem.Dto.UserVO;
import TestPaperSystem.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xwj
 * @since 2023-03-25
 */
public interface UserService extends IService<User> {
    UserLoginDto saveUser(UserVO user) throws Exception;

    UserLoginDto getUser(User user) throws Exception;

    boolean getCode(String email);

    UserLoginDto updateUserPass(UserVO resetForm) throws Exception;

}
